package com.javasvip.serviceemail.service.impl;

import com.javasvip.common.pojo.Token;
import com.javasvip.serviceemail.dao.LagouTokenDao;
import com.javasvip.serviceemail.service.TolenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TolenServiceImpl implements TolenService {

    @Autowired
    com.javasvip.serviceemail.dao.LagouTokenDao LagouTokenDao;

    @Override
    public Token fToken(Long id) {
        List<Token> all = LagouTokenDao.findAll();
        System.out.println("all"+all);
        return null;
    }

    @Override
    public List<Token> ff() {
        List<Token> ff = LagouTokenDao.ff();
        System.out.println("all"+ff);
        return null;
    }
}
